package org.senzacontrollo.designPatterns.abstractFactory;

public class TapeRecorder implements Recorder{
	
	private Tape tapeInside;

	public void accept(Media media) {
		tapeInside = (Tape) media;
		
	}

	public void record(String sound) {
		tapeInside.saveOnTape("I'm recording on tape "+sound);
	}

}
